#ifndef SNODE_H
#define SNODE_H
//
#include <QGraphicsEllipseItem>
#include <QGraphicsTextItem>
#include <QString>
#include <QMultiMap>
//#include "sege.h"

class SEge;
//
class SNode : public QGraphicsEllipseItem
{
//Q_OBJECT
public:
	void updeteEges();
	SNode(QString id);
	QGraphicsTextItem* Label;
	QMap<QString,SEge *> from;
	QMap<QString,SEge *> to;
	void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent);
	void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent);

};
#endif
